//import processing.pdf.*;

String versionString = "NPZmachine 3.5";
String creditsString = "Neil Banas  |  neil@apl.washington.edu";

/*
Neil Banas, dec 2011

branched from NPZmachine 3.5; unrelated projects removed
the version of ASTroCAT used in Banas, Ecol. Modelling, 2011 is retained under ac_v16

*/

boolean scripted = false;
String baseOutputPath = "/Users/neil/npzdiversity/work/runs/";
boolean debug = false;
Stylesheet masterStylesheet;
Gui gui;

void setup() {
  size(850,600);
  smooth();
  masterStylesheet = new Stylesheet();
  masterStylesheet.loadFonts();
  ProjectList PL = assembleMasterProjectList(); // *** this is place to assemble the choices available through the GUI.
  gui = new Gui(PL, masterStylesheet);
  if (scripted) {
    runScripts(); // *** if you want to bypass the GUI, this is the place to do it--see below.
    exit();
  }
}

void draw() {
  gui.update();
}

void mousePressed() {
  gui.offerMousePress();
}




class Script {
  Script() {}
  void run() {}
}

void runScripts() {
  ASTroCAT_chemostat_expts();
}
